package net.neptech.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.neptech.model.dto.InstanceParamDto;
import net.neptech.model.workflow.InstanceRecord;

import java.util.List;
import java.util.Set;

public interface InstanceRecordService extends IService<InstanceRecord> {
    InstanceRecord getByInstanceId(String instanceId);

    void clearProcess(List<String> flowIdList);

    List<InstanceRecord> getByInstanceIds(Set<String> instanceIdSet);

    void endProcess(InstanceParamDto instanceParamDto);
}
